(hi-lock-find-patterns): Don't activate font-lock-mode.
authorGerd Moellmann <gerd@gnu.org>
Tue, 13 Feb 2001 09:02:04 +0000 (09:02 +0000)
committerGerd Moellmann <gerd@gnu.org>
Tue, 13 Feb 2001 09:02:04 +0000 (09:02 +0000)
lisp/hi-lock.el

index 0ae3dbddce6099f64cbe20d8029a7e40b4eeff4b..20961226cb513707e9adfa361ca62f56650d8592 100644 (file)
@@ -550,7 +550,6 @@ Optional argument END is maximum excursion."
                                    (hi-lock-current-line))) nil))))
             (if patterns
                 (setq all-patterns (append patterns all-patterns))))))
-      (unless font-lock-mode (font-lock-mode))
       (when hi-lock-mode (hi-lock-set-file-patterns all-patterns))
       (if (interactive-p)
         (message (format "Hi-lock added %d patterns." (length all-patterns)))))))